import http from "@/static/http/request.js";

/* 登录中的请求 ↓*/
//登录
export const getLogin = (data) => http.post('/login/getLogin', data)

//手机号验证码登录
export const getLoginByPhone = (data) => http.post('/login/getLoginByPhone', data)

//微信登录
export const getOraddWx = (data) => http.post('/login/getOraddWx', data)

//QQ登录
export const getOraddQQ = (data) => http.post('/login/getOraddQQ', data)

//发送验证码
export const sendCode = (data) => http.post('/personal/sendCode', data)

//重置密码
export const forgetPassword = (data) => http.post('/login/forgetPassword', data)

//创建用户
export const createUser = (data) => http.post('/login/createUser', data)